package com.legal.aid.app.domain.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户收藏表实体类
 */
public class CollectVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 用户ID */
    private Long userId;

    /** 类型: 0-新闻, 1-律师, 2-案例 */
    private String targetType;

    /** 目标ID */
    private Long targetId;

    /** 创建时间 */
    private Date createdTime;

    /** 更新时间 */
    private Date updatedTime;

    /** 软删除标记(0-正常 1-删除) */
    private String isDeleted;

    /** 创建人 */
    private String createdBy;

    /** 修改人 */
    private String updatedBy;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public Long getTargetId() {
        return targetId;
    }

    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    @Override
    public String toString() {
        return "CollectVo{" +
                "id=" + id +
                ", userId=" + userId +
                ", targetType='" + targetType + "'" +
                ", targetId=" + targetId +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                ", isDeleted='" + isDeleted + "'" +
                ", createdBy='" + createdBy + "'" +
                ", updatedBy='" + updatedBy + "'" +
                "}";
    }
} 